<?php
$redirection = array(
    'm.pilus.no' => 'users/www/?isliked=1&uid=16&key=3caa25715804102614cbb67e2801b412', 
);
if(isset($redirection[$_SERVER['HTTP_HOST']])) {
    header("location: {$redirection[$_SERVER['HTTP_HOST']]}");
}